package com.wawayaya.util;

/**
 * 全局常量类
 *
 * @author  (last update author) David
 * @version 1.0
 * @created 2015-11-9
 */
public interface Constants {

    /**
     * HOME
     */
    int FG_HOME = 1;
    /**
     * 发现
     */
    int FG_EXPLORE = 2;
    /**
     * 我的
     */
    int FG_MY_LIBRARY = 3;
    /**
     * SETTING
     */
    int FG_SETTING = 4;

    int roleDefault = 0,roleParent = 1,roleChild = 2,roleTeacher = 3;

    long CLICK_INTERVAL = 444;    //点击间隔

    public final static String  WAWAYAYA= "wawayaya";
    /** 是否是游客用户 */
     int  USER_IS_Device = 1;
     int  USER_NOT_IS_Device = 0;
    /** 没有足够的空间 */
    String ERROR_LACKOFFREESPACE = "lackoffreespace";
    /** 设备 最小可用空间 */
    int MINIMIZE_FREESPACE = 100; // 1000mb

    String INTENT_ACTION_NOTICE = "wawayaya.kids_iread.action.APPWIDGET_UPDATE";

    String INTENT_ACTION_LOGOUT = "wawayaya.kids_iread.action.LOGOUT";

    String INTENT_ACTION_USER_CHANGE = "wawayaya.kids_iread.action.USER_CHANGE";

    String INTENT_ACTION_COMMENT_CHANGED = "wawayaya.kids_iread.action.COMMENT_CHANGED";


    String WEICHAT_APPID = "wxa8213dc827399101";
    public static final String WEICHAT_SECRET = "5c716417ce72ff69d8cf0c43572c9284";

    String QQ_APPID = "100942993";
    String QQ_APPKEY = "8edd3cc7ca8dcc15082d6fe75969601b";

    /**
     * 当前版本信息
     * CHANNEL=googleplay 表示，当前版本是发布到googleplay版本，反之为“”
     */
    String VERION_FILE_PREFIX = ".version_";
    String VERION_FOR_1_0 ="2_0_0_181";
    String CHANNEL = "";  //googleplay

    /**
     * share sdk config
     * 用于 sns 登陆
     */
    String SHARE_SDK_APP_ID = "2209410";
    String SHARE_SDK_SECRET_KEY = "x%c48g8!#et5d82";

    /**
     * 书架基础数据请求
     */
    int DB_BOOKS_SHELFS = 1;      // Thread one  加载 图书基本信息、书架列表、配置信息
    int DB_OTHER_BOOKS_SHELF = 2; // Thread two  加载 分类主题、

    //是否加载基础数据，生成db，更新arrest中的本地文件
    /**
     * 首页类型
     */
    String  common_bs = "common-bs";
    String  prom_bs   = "prom-bs";
    String  adv_bs    = "ad";

    /**
     * download
     *
     */
    int  supportDownload = 1;
    int  bookDownload = 2;
    //download status
    int toOpenBook = 11;
    int toDownloadBook = 12;
    int toPauseDownload = 13;
    int waittoDownload = 14;
    int toPauseWait = 15;
    int downloadError = 16;
    int downloadProgress = 17;
    int downloadPartOK = 18;
    int continueDownload = 19;

}
